package com.huaxin.crm.mapper;

import com.huaxin.crm.pojo.HxDept;
import com.huaxin.crm.pojo.HxDeptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HxDeptMapper {
    long countByExample(HxDeptExample example);

    int deleteByExample(HxDeptExample example);

    int deleteByPrimaryKey(Long id);

    int insert(HxDept record);

    int insertSelective(HxDept record);

    List<HxDept> selectByExample(HxDeptExample example);

    HxDept selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") HxDept record, @Param("example") HxDeptExample example);

    int updateByExample(@Param("record") HxDept record, @Param("example") HxDeptExample example);

    int updateByPrimaryKeySelective(HxDept record);

    int updateByPrimaryKey(HxDept record);
}